package com.kgcx.system.domain;

import com.kgcx.dbutils.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Table;

@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_sys_com_pay_info")
@ApiModel(value = "运营公司支付信息")
public class PayInfo extends BaseDomain {

    /**
     * 公司标识
     */
    @ApiModelProperty(value = "公司标识", required = true, example = "123")
    private String companyId;

    /**
     * 银行或非银行支付机构名称全称
     */
    @ApiModelProperty(value = "银行或非银行支付机构名称全称", required = true, example = "支付宝")
    private String payName;

    /**
     * 非银行支付机构支付业务许可证编号
     */
    @ApiModelProperty(value = "非银行支付机构支付业务许可证编号", required = true, example = "123456")
    private String payId;

    /**
     * 支付业务类型
     */
    @ApiModelProperty(value = "支付业务类型", required = true, example = "电子支付")
    private String payType;

    /**
     * 业务覆盖范围
     */
    @ApiModelProperty(value = "业务覆盖范围", required = true, example = "全国")
    private String payScope;

    /**
     * 备付金存管银行全称
     */
    @ApiModelProperty(value = "备付金存管银行全称", required = true, example = "工商银行")
    private String prepareBank;

    /**
     * 结算周期，单位天
     */
    @ApiModelProperty(value = "结算周期，单位天", required = true, example = "30")
    private Integer countDate;

    /**
     * 状态，0=有效，1=失效
     */
    @ApiModelProperty(value = "状态，0=有效，1=失效", required = true, example = "0")
    private Integer state;

}